#topgirlgallery { width: 100%; overflow: auto;}
ul.gallery {margin: 0; padding: 2px;}
ul.gallery li {	display: inline-block; overflow: hidden;}
ul.gallery li img {
	background-color: white;
	border:1px solid gray;
	padding:3px;
}
ul.gallery li a {
	display:block;
	height:100%;
	margin:0;
	padding:0;
	width:100%;
}

ul.gallery li a:visited img, ul.gallery li a:active img
{
	background-color: #F09;
}

li .title {font-size: 10px;}

ul.gallery li img.avatar {width: 65px; height: 70px;}
ul.gallery li img.cover {width: 117px; height: 125px;}

#topgirl .avatar {width: 130px; margin: 0; background: None; float: left;}
#topgirl .profile { height: 145px; margin: 2px 0 5px 135px;}
#topgirl .profile ul {margin: 0; list-style-type: None; padding: 8px;}
#topgirl .profile ul li {margin: 0; padding: 0;}

#prevnext ul {
	background:transparent none repeat scroll 0 0;
	border:0 none;
	clear:both;
	height:45px;
	padding: 0;
	width: 100%; 
	margin-left: auto;
	margin-right: auto; 
	margin-top: 2px;
	margin-bottom:10px;
	text-align: center;
}

#prevnext ul li {
	-webkit-border-radius: 5px;  
    -moz-border-radius: 5px;  
	background:white none repeat scroll 0 0;
	border:1px solid #B4B4B4;
	color:#B7BECD;
	display:block;
	float:left;
	font-size:14px;
	padding:11px 10px 14px;
	text-align:center;
	width:43%;
}

li:first-child {
	border-top:0 none;
}
#prevnext ul li a {
	-webkit-border-radius: 5px;  
    -moz-border-radius: 5px;
	display:block;
	overflow:hidden;
	text-decoration:none;
	white-space:nowrap;
	color:#324F85;
	line-height:16px;
	margin:-11px -10px -14px;
	padding:11px 10px 14px;
}
				
#prevnext ul li a:hover {
	background:#F09 none repeat scroll 0 0;
	color:#FFFFFF;
}

.photo_nav {
	float:right;
	margin-right:5px;
	width:65px;
	display: block;
}

.photo_nav > a {
	background:#EEEEEE none repeat scroll 0 0;
	display:block;
	height:65px;
	margin:0 0 5px;
	padding:0;
}

.photo_nav .prev_photo_link {
	background-position:center -36px;
	position:relative;
}

.photo_nav .next_photo_link {
	position:relative;
}


.photo_nav .next_photo_overlay {
	background:transparent url(/images/sprite.png) no-repeat scroll center 21px;
	display:block;
	height:65px;
	left:0;
	position:absolute;
	top:0;
	width:65px;
}

.photo_nav .prev_photo_overlay {
	background:transparent url(/images/sprite.png) no-repeat scroll center -22px;
	display:block;
	height:65px;
	left:0;
	position:absolute;
	top:0;
	width:65px;
}

.photo_container img, .photo_nav img {
	border:0 none;
}